home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet multimedia / Linux LiveCD / GeeXboX 1.0 EN / geexbox-1.0-en.i386.iso / GEEXBOX / etc / init.d / 59_upnp < prev    next >
Text File  |  2006-06-21  |  332b  |  22 lines

  1. #!/bin/sh
  2. #
  3. # mount UPnP VFS
  4. #
  5. # runlevels: geexbox, debug
  6.  
  7. # get options
  8. test -f /etc/network || exit 1
  9. . /etc/network
  10.  
  11. if test "$UPNP" = "yes" -a -f /usr/bin/djmount; then
  12.   echo "### Mounting UPnP VFS ###"
  13.  
  14.   # Build UPnP VFS directory
  15.   mkdir -p /tmp/UPnP
  16.  
  17.   # Mount UPnP VFS
  18.   djmount -f /tmp/UPnP >/dev/null 2>&1 &
  19. fi
  20.  
  21. exit 0
  22.